from Forum.settings import db
from peewee import *
from datetime import datetime
class BaseModel(Model):
    add_time = DateTimeField(default=datetime.now, verbose_name="添加时间")
    class Meta:
        database = db
